import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

/**
 * Created with IntelliJ IDEA.
 * Description
 * User: 杰
 * Date: 2023 -09 -04
 * Time: 19:58
 */
// 该类用来做一些初始化操作
public class InitAndEnd {
    static WebDriver webDriver;
    public int a;
    @BeforeAll
    static void Setup() {
        webDriver = new ChromeDriver();
    }
    @AfterAll
    static void TearDown() {
        webDriver.quit();
    }
}
